package Poker;

import static org.junit.Assert.*;

import org.junit.Test;

import player.Bot2;

public class Bot2Test {

	@Test
	public void testTurn() {
		Bot2 test = new Bot2();
		Deck d;
		
		for(int i=0;i<1000;i++) {
			d = new Deck();
			test.getHand().changeCards(0, d);
			int w = test.turn();
			if(w<1 || w>31)
				fail();
		}
	}

	@Test
	public void testBot2() {
		Bot2 test = new Bot2();
		assertNotNull(test.getName());
	}

}
